const fs = require('fs');
const path = require('path');
fs.stat(path.join(__dirname,'./file/1.txt'),(err,stats) => {
    if(err) return console.log('读取文件失败');
    console.log(stats);
})